package com.goods.business.service;

import com.goods.common.model.business.Product;
import com.goods.common.vo.business.ProductStockVO;
import com.goods.common.vo.business.ProductVO;

import java.util.List;

public interface ProductService {
    List<ProductVO> findProductList(String name, Integer status, String categorys);

    void add(ProductVO productVO);

    Product edit(Long id);

    void update(ProductVO productVO);

    void remove(Long id);

    void back(Long id);

    void delete(Long id);

    Boolean publish(Long id);

    List<ProductStockVO> findProductLists(String name,  String categorys);
}
